addGrades fix