revert the search changes