remove ref in "ref parse_package" and copy to local var by pass parsePackage