changed to remove trailing slash because CMS was not working