fix conflict between function name and variable name