proper error handling for disabled location access