Bug fix with distances in mapViewcontroller