try to get extraneous messages out of exception messages