fix quote find/replace errors