Fixed bug in FreqMod