post-course cleanup