fix unordered response in FunctionBodyExtractor.extract()