remove dependency with parent