(hopefully) fix daemonization