fixing HTML and BODY tags