fixed TcpLink callback bug