fix bug from shared page when adding new custom palette