updated error messages

fixed spelling errors