fixes

Hi vincent.
two fix for currency plugin.
;)