fix bug where text only contain 1 symbol does not generate compressed
string