fix duplicate daemon