Fix TPS value indicates always zero.