update exception message to a better one