location is not available error fix