fix bug of GetTableNames api