fix enviroment issue