a patch to handle bad html5
added try/catch to tlc parsing