fix sync activity issue