Fix typos in error messages