rename pkgExt to subPkg