Remove some incompatible styles