minor tidies (code review for geo detection)