bug fix

Sometimes style not applied.