fixed daemon filenames errors