scheduler fix