initialize string buffer