fixing refactoring typo