fix refactoring typo