avoid parsing twice