exclude optional and problematic dependencies