enabling env should handling