Fixed to use on Python 3.x
m