Fix eventsDAO