temporary fix for StringBuffer until t.a.js accepts g.s.StringBuffer