Fix daemonizer