fixed currency bug in transactions