Python 2 -> 3 compat
fixing pythong 2to3 stupidness