seo title function fix