fixed bugs in util::buffer
zero-copy tidbits