worked out two bugs whereby values were not being appropriately cloned
across subsequent chain links