fixed single-quote issue using URI codes