Fix a bug to move sites.