fixing which events are displayed