bug fix for scheduler loading