calcgrade fix