fix SEO functions