Fix grading page error