fix custom style errors