replace live event for on event