made geo query work