fixed invalid htmls