support SyncRepository and SwapSiteSlot