Automatic Detection and Correction of Defective …