dealing with the env problem