return buf_size again, i hope kabi is finally happy now ;)