Fix a local variable naming issue