sleep fixes