cleaned layout and html content