another fix for the scheduler [ci skip]