remove double dependencies