fix isDOMObject()