Fixed typo in scheduler