fixed refactoring typo