fix find/replace-o and line wrapping