change the exception part