KAT added A method to dumping HTML to get rid of all error