We study the importance of precise modelling of the photometric redshift error distributions when estimating parameters from cross-correlation measurements We present a working example of the scattering matrix formalism to correct for the effects of galaxies ending in wrong redshift bins due to their photometric redshift errors. We measured the angular galaxy auto-power spectrum and cross-power spectrum in four tomographic bins with the redshift intervals $z = $ from the cross-correlation of the Planck cosmic microwave background lensing potential and the photometric galaxy catalogue from the Dark Energy Spectroscopic Instrument Legacy Imaging Survey Data Release 8. We estimated the galaxy linear bias and the amplitude of cross correlation using maximum likelihood estimation to put constraints on the $ $ parameter. We show that the modified Lorentzian function used to fit the photometric redshift error distribution performs well only near the peaks of the distribution. We adopt a sum of Gaussians model to capture the broad tails of the error distribution. Our sum of Gaussians model yields values of the cross-correlation amplitude that are $ smaller than those expected based on the Lambda cold dark matter (Lambda CDM) model . We compute the $ $ parameter after correcting for the redshift bin mismatch of objects following the scattering matrix approach. The $ $ parameter becomes consistent with Lambda CDM model in the last tomographic bin but shows a tension of $ sigma$ in other redshift bins.