fix exception messages