delete useless dependencies