Fix sleep.