fix global not work
1.0.4