CV HW2

fixed bug