Make sure string buffers are not lost