delete with dependencies