Refactoring misspelling of a variable