python3 fix
convert to python3