removed 2nd instantiation of virtual environment