Fix refactoring typo