little fix in printing result tap.py