fixed oscillator to be consistent across buffers - added ut to check