fix bugs of sites-* stuff.