fix for missing environment variable