fixed a bug in RamanTMO