fixing palette