bugfix UnicodeDecodeError