default value in palette is -1, not 0