Fix small typo in scheduler