Playing small motors from synth and arduino

I could I avoid the magic smoke? (which I must say did not happen when I try that circuit)