fix typo 'pallete -> palette'