Fix global scope