mongo extractor fixes