delete useless message print