fixed problems in the schedule