fix style encapsulation issue