fixed getDist... function call