use non-invasive method when printing the inner states of buffers