pkg_name loading bugfix.