fix sleeptime