fix minor issues with grade editing