final bug fixing for make_C18O_spectra_new