fix bad lookup after objects in doms