modify the html of closure