clean the plan for the course