fix markup for event module