compare nodes instead of html