Fixed deletion of divs