fixed adding objects in place of hosts