fix typo in extract