hack to get location working