removed unnesecarry code from daemon list