fix for py3.3