delete bad styles