hack to get location to work with app foldername in url