fix KeyInfo search method