remove named dependencies