bug fixes to make infinte segments, responseCallback, and jumpSegment work