Bugfix for null location providers