prevent event_trigger loop