fix UnicodeDecodeError at line 426