Fix exception event and fix cs