fixed controller errors with sitemap