fix nether and end environments