fix typo in method