improve search-gadget