fix sitemap to work for all post types