fix currency conversion bug