remove first segment.