a few fixes to analytics daemons startup