segments editing in not edit mode bug fix
SegmentField class added