improve the exception in case there is a bad exception