fix typo in extract_hpm