removes dependencies