fixed adding objects to path