fix bug in seo plugin