remediation of defects