when calling this function to append to a dynamic string and the buffer was not