fix bug
more func
string builder implementation in c