remove UnicodeEncodeError in __str__() for unicode