fixed the compiling error in env::constant&env::var