fix a global variable