fix SchedulerSpec config, see #2941