bug fix in generate google sitemap