fixed sync_log trigger