fixing currency bugs