Fix a mistake where a local variable should have been a property