rewrite share-search