Fixed traverse.py buffer error