remove obsolete check for environment variables