daemonizing fix 2