bugfix for generateSitemapData