a little fix for dna curve.