HomeView and getLocation fixed