SocketClient bugg fix