hack to get geolocation working