Fix for ST3, Py3