fix color palette init