workflow scheduler fix