fix log disconnected