use bytesize on buffer string
Merge branch 'fix_bytesize' into avvo