fix preferglobal
1.0.3