more refactor about quoted text