clean up base extractor class