fix bug. check unical name for events on add_event