fix properties of ansi-styles