delete useless entity