get global var