Fix find-replace errors