Fix global variable name