expand and fix multiple order PDFs
improve pkg_helper and friends