converted text to string before appending to stringbuilder