Fixed issue on exception event