undoing change for search