fixing event_links bug