remove multiple invoke.
because this feature is no longer needed to.

Please use below code instead of this function.

invoke(:unit1, :name) do
  invoke(:unit2, :name) do
  end
end