fancy indexing returns a Table object
fix fancy indexing bug