delete useless sleep