changed all misused occurrences of "defect"