unset objects before merging