Fix optDaemon initialization.