How to convert dicom files to nrrd

I created a nifti dataset (converting dicom to nifti using slicer), and trained an nnUNet segmentation model (with noMirroring trainer).
in the inference time I use dicom2nifti for nifti generation from new dicom files, then I observe that the segmentation model does not work properly, providing bad segmentations.

I checked volume information of dicom:
image

volume information of dicom2nifti generated file:
image

and the volume information for a nifti volume I generate in slicer from the same dicom:
image

any ideas what is a workaround?