Fix find and replace errors.