fixing dt/dd mixup