fix of index (posts were repeating)