Unfix scheduler.
Finally fix the scheduler.