quickfix for codecs error