Correct a string