modify event func