small fixed on Py3