fix the bug of serveyIndex