fixed import on py3