reverted some change done on the Scheduler for debugging