Worked in fixing action events not triggering properly