Fix geo detection