event: fix new_id generation
spec: add some event specs