fix grammar in error messages