fixed closure on sleep timer