fixed safe style warning