remove unneeded member in Extractor, move to function scope