fix bug when SiteLanguageList is not empty