Scheduler of the tasks fix.