remove hack to take dots out of sequence names
try to fix a few bugs in the segment traversal