fix a bug in dpm test