migrate to python3 by 2to3.py tool