Fixed bug in site switcher