Fixing nil problem in daemon defaults