Corrected typos in error messages