Fix trigger event method