fix typo with wrong method