Added a fix for the sitemap.xml generator