fix a function variable name that was shadowing a parameter name