Correctly  assign extractor to input format