fix index, use table to show posts