Fix to multiple currencies code.