fixed bug with oscillators