cleaning up the schedule