fix escape sequence quoting