Fix global variable reference.