added clean_up() for transiter.py