reset currentSegment