fix sync daemon