fixed bug in GND Tp index generation