Fix accidental global variable.