correct div close