modify index for post list