fixed the exception messages