fix quote stripping bug