beta 0.03 fixed an issue in twtool.py