fix index for post