enviroments fix