delete useless message