fixed NPE when target currency is not known