taking care of priorities in case two countries have the same country code