fix one bug that syncs multiple last item