revert unnecessary search and replace