fix for env variables