fix sleeptime correctly