try to use bytebuffer to replace smartbuffer