fix pkg_id => package_id