final bugfixes for sequential version of dna