fixed oscillation bug in frequency modulator