Fixed refactoring error.