fixed currency semantic bug