class grades fix