fix bugs of shedule