replace_defect_fix