correct error with missing grade