Fix global variable