improved gethtml