fix duplicate event names