fix dPartInds