fixed DPD null state bug