handled some missing environment variables