Fixed tps checking