Change extract to avoid QuoteNote usage

makes it compatible with julia 0.2