Fixing error in mapView