fix up package dependencies