modify socketClient