fixing daemonizer