fix clicking on records on map and saved records page