quick hack to avoid 'UnicodeDecodeError'