renamed fixError to fixString in TabString