fixed bug that removed closing body tag