fixing posts index