Remove extra closing divs