Fixed typos in error messages.