troubleshooting TP,TD,HC index sets