fixed bug in string representation of Transaction class