Fix syntax for setting a local variable