fixed last segment problem