fix CoreLocation