update the preprocessing

do correction when there are non massSpectrum object in data