Fix a bug about the currency transfer.