delete the loop from the html file