fix pool object creation in vs.py