fixed getting country code