fixing the schedules