Defect fixing