fix currency unit change bug