Fix the position bug which is the result of posting index inconsistence.