Update schedule.c

FIX