fix widget search type