fix enviroments