fix global var test