gradebook fixes