fixed insertion on paletteStyle 'b'