remove extra code before <hmtl>