delete useless items