fix passing tofind as DOM node