bugfix for packages.egg