fix an idiot error (add "return retPackage" in function makeRetPkg)