it is best to use location.locationId instead of manually calling the getter here