Fix refactored function name