Fixed exception caused by exception