fixed enumeration of packages