Updated error messages

updated error messages for clarity