fix post indexing