recover original layout for make html