Unify code related with eventNames split