ok, NOW I've fixed the single-quote issue; added global replace; URI codes didn't work, so I went back to the double-single quotes