* Fixed a bug of recursively find the index from the client side.