fix sleep