fixed daemon not starting problem