updated TODO
fixed 404 errors when clicking on a category before clicking on a link to a post