bug fix for grader.js