fix grade table