fixing event action