hw6_7, bug fix use _ for else