Fixxed a bug (writing sitemap.xml)