send_buf and recv_buf bug