correct some problemes with daemon script