Hard way to py3 compat.