fix location query for map to display