fix submission grading problem