delete useless styles