recover common error: lack of </body> before </html>