fix escape in getQuote