fix tps calculate to tps