fixes problem with env variable