fix Event Model causality generation