Fixing sleep