Fix the function name ref