fix index_tuple