repeated segments, and skip empty