fix __buildExtractor. shuffle around debug statements.