fix typos in error messages