extracted parameter extractor
Fixed get flights