Fixed bugs in site map generator.