fixed a global