fixed daemon working directory