prior to a big refactor, clense the palette