fix nil pointer when requesting grades and gradebook hasn't been set up by instructor.