refinement of quote stripping