py3 fix attempt