Fix the LocationManager