minor cleaning of irGrade