fixed getType() bug of fingers in gestures