Fix accidental global variable

Good catch, but would you please add this to line 24 instead?