maybe fix the grade bug