fixing bugs for eventRaise