fix tps index