fix issue of grading