Unify title logic