Py3 types change