fix self.client_daemon to self.daemon