fix bug with color styles