peakshape and spec2rgb minor fixes