fixed some synthesizer bugs