add buf_len from remote side