fix loading of events