delete useless information