fix add-event signature