Fixed exception issue.