compat: copy in the latest pmx helper