Fix call to globs.mainScheduler inside Scheduler class