fixed routing on posts index page