nodeType fix