fix "U" bug (py3)