fixed Exception caused when only 1 CurrencyPair is provided