Fix environments.