fixed get location to display on click