Made TPS command more accurate

Signed-off-by: Ross Allan <rallanpcl@gmail.com>