fixing daemon paths