clean up traverse