fixes mergeseq.cpp