[core] fix typo in naming a method