fixup python 2/3