changed links to location.id instead of location_#