fix plugin search when missing key
fix plugin search when missing key