delete useless infos