fix sleep problems