Fixed reference to global.