a minor edit of tungraph.py