fix grades