fixed typos in error messages