fix a possible null reference
fix a possible null reference

xieguigang/spectrum,xieguigang/MassSpectrum-toolkits,xieguigang/MassSpectrum-toolkits,xieguigang/MassSpectrum-toolkits,xieguigang/MassSpectrum-toolkits,xieguigang/spectrum