Fixed a bug in the package dependencies