fix bug, change load order of env.el and global.el