fix ddp