Fixed a bug with package stuff