A method for improving heavy ion spectra in scattering experiments