Removed unneeded len_buf