fixing splitted sequences in TermWriter