fix compile error: StrBuf change