remove redundant clear() calls in Extractor.cpp