correct custom style definitions