fix wrong method name after refactoring