removing extra div close tag