fixed bug in TCPClient!