Replace name by event for eventName