bugfix in EnclosurePackNew