fixed geoip doc example, removed definedness test