fixed a crash when country code was unknown
proper imports; lookup() instead of lookup_rws()