making sure that event is always set before checking for existing