Hopefully fixed the add_event_detect issue.