Fix minor issue with environment.