Bug fix for currency formatting