fixed bug in plugin search