minimal environment variable validation