fix grading