Fix for local variable clashing with function name and trying to call the function