don't call replace() on null formattedNumber

Fixes #1397
// FREEBIE