fix practice grading bug