fix paginator to read as posts in index