fix typo method