fix typo with pathname