input env var validation