removing unnecessary divs