Small grammatical corrections in strings