improve on patent_package_detail