move cancelSchedule timing. (but no good)
revert cancelSchedule