inject DOMError loop