delete unnecessary dependencies