Fixed the tool index_json file bug