fits to Scheduler API change