Multiple Instances Static Noise

When I have two instances of my instrument plugin I can hear distortion coming through on the second instance. I tried removing global and static variables, idk what I am missing…

I think I found it, it was a static array. If that helps anyone who finds this.