Location and remedy of faults