fixing daemon