defect remedy