port to py3
Use equivalent, but doesn't seem to help