fixing issue with load_events