fixing geo query