Fixed sync_all task