fix the html when loading a list