Remove extra closing div tag