remove a dependency