fix scheduler::instance()