show separator only if there are entries