Fix so conversion to Py3 works