fix non-utf8 characters from new plugin #722