fixing ISOcode

check if country iso code is a valid one