revert to py3