Fix daemonize.