remove duplication of save_search_values