fixing defect