fixing enviroments