daemonize fixed