Fix global exception references