Fixed int bug in getcountrycode