修复字符串压缩的缺陷