Corrected a slight bug on the hand counter