fixed table detection for []*T