# defect checking