fix tcp collect error