bug fix

fixed a bug of disabling all styles