Removing problematic dependencies