fix defect