fix search leaf node bug