fixed scheduler variable typo