refix a global variable