python 3 fixes
py26 fix