fix up the dependencies