fix overall class rule, fix if loaded html is only text node