modify the logical of tracking hand.