post-grading corrections and cleanup