home work 1.4 fix defect