Fix error in hw6-8-grade.