move global var