fixed miscalled Scheduler