grammar edits for error messages