[EC] [64410620] use new dotenv, fix nil and "" bug