fix the post index