fix string decode/encode errors