buf_len resend fixed #86