Fixed sleepTime error