fixed bug for profile when freq/wavelen output set