Bug in ShedulerUnit fixed