Store the segment, and retrive from the segment object. The session manager has no state when we call newSegment which gives another object, with no data. Thanks to @pmjones for looking into this and providing the fix