palettes module improvements