restore real search functions