fixes issues with overconstrained direct dependencies. still not finished