Fixed daemon flag