remove forgotten bad import, fix translate for py2&3