fix a bug with SiteVisitor