fixing daemon path