Fixed error in schedule.