Make index router consistent with other routers

@dafeizizhu