Fixed a bug in the grading view