potential fix for failed assert on Oscillator.cc:136