fixing the display of events