fix country code parsing when ip can not be geocoded