Fixed minor typos in error messages