fix for python3 and change setup.py