problems with -daemonize