fixed daemon_running