Fixed a small bug in disect.py