check for venv more strictly