indexing posts properly