fixed UnicodeDecodeError