time valiation fix in sheduler

Time