small env validation