removing bad div