repaired sitemap_generator.rb