fixed getSchedule