fixed geoPoint bug, thanks Paolo Valleri
fixed dist type, thanks Paolo Valleri