Fix crash

We can't keep string builders on the stack since they may contains reference to temporary string builders