added env variable fix