move out the buffer metadata printing