fix grading for team submissions