Segment name bug fix