try making search/replace not fail if search not found