fix for getSegmentID()