remove print statements
fix AttributeError: 'InstrumentedList' object has no attribute 'any'